package com.cdu.guoxinan.www.smartcom.service;
import com.cdu.guoxinan.www.smartcom.domian.dto.ProductQueryDTO;
import com.cdu.guoxinan.www.smartcom.domian.pojo.Product;
import com.github.pagehelper.PageInfo;
import java.util.List;
 
public interface ProductService {
    List<Product> getAllProducts();
    List<Product> getProductsByCategoryAndName(String category, String name);

    PageInfo<Product> queryPage(ProductQueryDTO productQueryDTO);

    void addProduct(Product product);
    void updateProduct(Product product);
    void deleteProduct(Long productId);
} 